Projector apparatus and projection image correcting program product

ABSTRACT

A projector apparatus includes: a projection unit that projects an image onto a projection surface; a reflectance distribution detection unit that detects a reflectance distribution at the projection surface; a density distribution detection unit that detects a density distribution of a base pattern on the projection surface; a smoothing unit that smooths the reflectance distribution and the density distribution; an input unit that inputs image data; a correction unit that corrects the input image data based upon the smoothed reflectance distribution and the smoothed density distribution; and a control circuit that controls the projection unit so as to project the image based upon the correction image data.

INCORPORATION BY REFERENCE

The disclosure of the following priority application is herein incorporated by reference:

Japanese Patent Application No. 2009-095982 filed Apr. 10, 2009

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a projector apparatus and a projection image correcting program.

2. Description of Related Art

Projectors, which are becoming increasingly compact and thus more mobile units, are often used to project images onto projection surfaces other than screens, such as walls. However, the quality of an image projected onto a colored or patterned projection surface is bound to be adversely affected by the color or the pattern at the projection surface. Japanese Laid Open Patent Publication No. 2008-67080 and Japanese Laid Open Patent Publication No. 2007-322671 each disclose a technology whereby an image corrected in correspondence to the reflectance distribution at the projection surface is projected so as to render the color or the pattern at the projection surface less noticeable in the projected image.

SUMMARY OF THE INVENTION

The technologies in the related art described above, adopted when correcting an input image, are yet to effectively address the following issue. When an image is projected in an environment where ambient light (light other than the light originating from the projector apparatus) is present or an image is projected onto a projection surface at which areas with extremely low reflectance, such as black streaks or spots, are present, the correction executed for the image before it is projected onto the projection surface is bound to greatly lower the brightness of the projection image. Such a reduction in the brightness of the projection image will adversely affect the quality of the projection image.

According to the 1st aspect of the present invention, a projector apparatus comprises: a projection unit that projects an image onto a projection surface; a reflectance distribution detection unit that detects a reflectance distribution at the projection surface; a density distribution detection unit that detects a density distribution of a base pattern on the projection surface; a smoothing unit that smooths the reflectance distribution and the density distribution; an input unit that inputs image data; a correction unit that corrects the input image data based upon the smoothed reflectance distribution and the smoothed density distribution; and a control circuit that controls the projection unit so as to project the image based upon the correction image data.

According to the 2nd aspect of the present invention, it is preferred that in the projector apparatus according to the 1st aspect, the correction unit alters a data size of the density distribution to a size smaller than the data size of the image that the projection unit projects, and obtains through calculation correction information based upon the reflectance distribution and the density distribution with the altered data size, the correction information being used to cancel out an appearance of the base pattern on the projection surface.

According to the 3rd aspect of the present invention, it is preferred that in the projector apparatus according to the 2nd aspect, the correction unit also generates a possible/impossible distribution image based upon the correction information, the image data input from the input unit and the reflectance distribution, the possible/impossible distribution image indicating a distribution of areas where the appearance of the base pattern on the projection surface may or may not be cancelled out; the correction unit individually alters the data size of data constituting the possible/impossible distribution image and the data size of the input image data each to a size smaller than the data size of the image that the projection unit projects; and the correction unit corrects the input image data by using the possible/impossible distribution image with the altered data size, the input image with the altered data size, the reflectance distribution and the correction information.

According to the 4th aspect of the present invention, it is preferred that in the projector apparatus according to the 2nd aspect, the correction unit obtains through calculation the correction information for each of specific areas defined on a projection image plane, based upon the density distribution with the altered data size.

According to the 5th aspect of the present invention, it is preferred that in the projector apparatus according to the 2nd aspect, the correction unit adjusts the density distribution based upon a largest value indicated in the density distribution with the altered data size so as to achieve a uniform density distribution over an entire projection image plane, and obtains through calculation the correction information for each of specific areas defined on a projection image plane, based upon the uniform density distribution.

According to the 6th aspect of the present invention, it is preferred that in the projector apparatus according to the 3rd aspect, the correction unit executes arithmetic operation needed for correction for each of specific areas defined on a projection image plane, based upon the possible/impossible distribution image with the altered data size.

According to the 7th aspect of the present invention, it is preferred that in the projector apparatus according to the 3rd aspect, the correction unit adjusts the possible/impossible distribution based upon a smallest value indicated in the possible/impossible distribution with the altered data size so as to achieve a uniform possible/impossible distribution over an entire projection image plane and executes arithmetic operation needed for correction based upon the uniform possible/impossible distribution.

According to the 8th aspect of the present invention, a computer-readable computer program product having included therein a projection image correcting program that can be executed on a computer, with the projection image correcting program enabling the computer to execute: detection processing through which a reflectance distribution at a projection surface is detected; density distribution detection processing through which a density distribution of a base pattern on the projection surface is detected; smoothing processing through which the reflectance distribution and the density distribution are smoothed; input processing through which image data are input; correction processing through which the input image data are corrected based upon the smoothed reflectance distribution and the smoothed density distribution; and projection processing through which an image based upon the correction image data is projected.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is an external view of the projector apparatus achieved in an embodiment of the present invention.

FIG. 2 is a block diagram showing the structure adopted in the projector apparatus.

FIG. 3 presents a flowchart of projection processing.

FIG. 4 presents a flowchart of processing that may be executed to analyze the projection environment.

FIG. 5 presents a flowchart of processing that may be executed to determine through calculation an ambient light pattern correction image.

FIG. 6 illustrates a smoothing process.

FIGS. 7A and 7B illustrate a blocking process, with FIG. 7A showing the pre-blocking state in FIG. 7B showing the post-blocking state.

FIGS. 8A and 8B illustrate expansion processing, with FIG. 8A showing the state prior to execution of the expansion processing and FIG. 8B showing the state following the expansion processing.

FIG. 9 presents a flowchart of processing that may be executed to generate a projection image.

FIGS. 10A and 10B illustrate the contraction processing, with FIG. 10A showing the state prior to execution of the contraction processing and FIG. 10B showing the state following the contraction processing.

FIG. 11 presents a flowchart of processing that may be executed to generate a correction NG distribution image.

FIG. 12 is a schematic illustration presenting an example of an input image.

FIG. 13 is a schematic illustration presenting an example of an ambient light pattern distribution image.

FIG. 14 is a schematic illustration presenting an example of a reflectance distribution image.

FIG. 15 is a schematic illustration presenting an example of an ambient light pattern distribution image.

FIG. 16 is a schematic illustration presenting an example of an image that may be obtained by smoothing the ambient light pattern distribution image.

FIG. 17 is a schematic illustration presenting an example of an image that may result after the smoothed ambient light pattern distribution image undergoes the blocking process.

FIG. 18 is a schematic illustration presenting an example of an image that may result from the expansion processing.

FIG. 19 is a schematic illustration presenting an example of an image that may result from re-smoothing.

FIG. 20 is a schematic illustration presenting an example of a target ambient light pattern image.

FIG. 21 is a schematic illustration presenting an example of an ambient light pattern correction image.

FIG. 22 is a schematic illustration presenting an example of a correction impossible distribution image.

FIG. 23 is a schematic illustration presenting an example of a smoothed correction impossible distribution image.

FIG. 24 is a schematic illustration presenting an example of a correction impossible distribution image having undergone the blocking process.

FIG. 25 is a schematic illustration presenting an example of a correction impossible distribution image having undergone the contraction processing.

FIG. 26 is a schematic illustration presenting an example of a re-smoothed correction impossible distribution image.

FIG. 27 is a schematic illustration presenting an example of a lowered brightness distribution image.

FIG. 28 is a schematic illustration presenting an example of a target projection image.

FIG. 29 is a schematic illustration presenting an example of a projection image.

FIG. 30 is a schematic illustration presenting an example of a corrected projection image that is projected onto a projection surface.

FIG. 31 is a schematic illustration presenting an example of a projection image projected onto a projection surface without correction.

FIG. 32 presents a flowchart of the processing executed in a variation to obtain through calculation an ambient light pattern correction image.

FIG. 33 presents a flowchart of the processing executed in a variation to generate a projection image.

FIG. 34 illustrates the overall structure of a system configured to provide a program product.

DESCRIPTION OF PREFERRED EMBODIMENT

The following is a description of an embodiment of the present invention, given in reference to drawings. The projector apparatus according to the present invention corrects an input image in correspondence to the conditions at the projection surface so as to improve the appearance and the quality of the projected image.

FIG. 1 shows a projector apparatus 1 achieved in the embodiment of the present invention viewed from the front side. FIG. 1 shows a projection lens 111A constituting a projection optical system 111 (see FIG. 2) and a photographic lens 121A constituting an imaging optical system 121 (see FIG. 2), both disposed on the front side of the projector apparatus 1. The projector apparatus 1, placed on a desktop or the like, projects an image or the like from a built-in projection unit 110 (see FIG. 2) toward a screen or the like present in front thereof.

FIG. 2 is a block diagram showing an example of a structure that may be adopted in the projector apparatus 1. The projector apparatus 1 in FIG. 2 includes the projection unit 110, an imaging unit 120, a control circuit 101, a memory 102, an operation unit 103, an external interface (I/F) circuit 104 and a memory card interface (I/F) 105. A memory card 150 can be loaded at the memory card interface 105.

The control circuit 101 is constituted with a microprocessor and its peripheral circuits. Based upon a control program stored in a built-in flash memory 101B, the control circuit 101 executes specific arithmetic operations by using signals input thereto from various internal units in the projector apparatus 1. The control circuit 101 outputs the arithmetic operation results as control signals to the individual units within the projector apparatus 1 so as to control a projection operation and an imaging operation executed at the projector apparatus 1. It is to be noted that the external interface (I/F) circuit 104 may be engaged in communication with an external device to modify the control program and data stored in the flash memory 101B or to store additional data into the flash memory 101B.

An image processing unit 101A in the control circuit 101 executes image processing for image data obtained via the external interface 104 or image data obtained from the memory card 150. The image processing executed at the image processing unit 101A is to be described in detail later.

The memory 102 is used as a work memory by the control circuit 101. The operation unit 103, constituted with buttons and switches, outputs to the control circuit 101 an operation signal corresponding to a specific button or switch having been operated. Data can be written into, saved in and read out from the memory card 150 in response to instructions issued by the control circuit 101.

The projection unit 110 includes the projection optical system 111, a liquid crystal panel 112, an LED light source 113 and a projection control circuit 114. The LED light source 113 illuminates the liquid crystal panel 112 with luminance the level of which corresponds to a supplied current. At the liquid crystal panel 112, an optical image is generated in response to a drive signal provided from the projection control circuit 114. The projection optical system 111 projects the optical image output from the liquid crystal panel 112. In response to an instruction issued by the control circuit 101, the projection control circuit 114 outputs control signals to the LED light source 113 and the liquid crystal panel 112.

The projection unit 110 projects a specific image indicated by the control circuit 101. An image expressed with image data provided by an external device via the external interface circuit 104, as well as an image expressed with image data saved in the memory card 150, can be projected by the projection unit 110. The term “input image” is used in the description of the embodiment to refer to the image expressed with image data saved in the memory card 150 or the image expressed with image data provided by an external device via the external interface circuit 104.

The imaging unit 120, which includes the imaging optical system 121, an image sensor 122 and an imaging control circuit 123, captures an image of the projection surface in response to an instruction issued by the control circuit 101. The imaging optical system 121 forms a subject image on an imaging surface of the image sensor 122. The image sensor 122 converts the subject image to electrical signals. The image sensor 122 may be a CCD image sensor or a CMOS image sensor. The imaging control circuit 123 controls the drive of image sensor 122 in response to an instruction issued by the control circuit 101 and also executes specific signal processing on the electrical signals output from the image sensor 122.

Next, the input image correction processing executed in the projector apparatus 1 is described. This correction processing is executed in order to render less noticeable any pattern or stain on the projection surface, uneven illumination on the projection surface attributable to ambient light or the like, that would otherwise stand out in the projected image (projection image) as the input image is projected onto the projection surface. The control circuit 101 executes the correction processing based upon an image of the projection surface photographed via the imaging unit 120.

(Projection Processing)

FIG. 3 presents a flowchart of the projection processing executed by the control circuit 101. As a projection instruction is issued for the projector apparatus 1, the control circuit 101 starts up a program based upon which the processing in FIG. 3 is executed.

In step S21 in FIG. 3, the control circuit 101 analyzes the projection environment. In more specific terms, the control circuit 101 engages the imaging unit 120 in operation to capture an image of the projection surface and then obtains through calculation a density distribution image and an image indicating the reflectance distribution at the projection surface. The density distribution image indicates the presence of any pattern or stain on the projection surface and a state of any uneven illumination over the projection surface attributable to ambient light. This processing is to be described in detail later.

In step S22, the control circuit 101 obtains through calculation an ambient light pattern correction image. The ambient light pattern correction image (for instance, an image assuming a light/dark area distribution in a phase that is the inverse of the light/dark area distribution in the base pattern at the projection surface) is used to cancel out any pattern or stain present at the projection surface illuminated with the ambient light (light originating from a light source other than the projector apparatus 1) from the projection image. This processing, too, is to be described in detail later.

In step S23, the control circuit 101 reads the image data expressing an input image via the external interface circuit 104 or from the memory card 150 and stores the image data thus read into the memory 102. FIG. 12 is a schematic illustration presenting an example of an input image.

In step S24, the control circuit 101 corrects the input image and obtains through calculation a projection image. In more specific terms, the control circuit 101 first creates a correction impossible distribution image. The term “correction impossible distribution image” is used to refer to an image that indicates each area where the adverse effect attributable to a base pattern or stain present at the projection surface cannot readily be canceled out in the projection image even by projecting the image after correcting the input image in correspondence to the reflectance at the projection surface, as in the related art. The presence of such an area where the adverse effect of a base pattern or stain at the projection surface cannot readily be canceled out in the projection image is attributable to a lower level of reflectance in the particular area at the projection surface. The control circuit 101 next smooths the correction impossible distribution image and then, based upon the smoothed correction impossible distribution image and the image indicating the projection surface reflectance, it corrects the image having been read in step S23. The control circuit 101 further corrects the input image having been corrected as described above to add the adverse effects of the ambient light by adding the ambient light pattern correction image, having been obtained through calculation in step S22, to the corrected input image. It is to be noted that this processing, too, is to be described in detail later.

In step S25, the control circuit 101 executes analog conversion for the projection image having been obtained through calculation (corrected) in step S24 (i.e., the image obtained by correcting the input image) and projects via the projection unit 110 the image resulting from the conversion. In step S26, the control circuit 101 makes a decision as to whether or not there is another input image to be projected. An affirmative decision is made in step S26 if there is another input image to be projected and the operation returns to step S23 in this case. However, if there is no image to be projected, a negative decision is made in step S26 and the processing in FIG. 3 ends.

(Processing Executed to Analyze the Projection Environment)

In reference to the flowchart presented in FIG. 4, an example of processing that may be executed in step S21 (see FIG. 3) to analyze the projection environment is described in detail. The input image in the example is expressed with R data, G data and B data, each assuming an eight-bit data structure, and the volume of the data expressing the input image is equivalent to 1024 (across)×768 (down) pixels. However, the data bit length does not need to be eight bits and may be adjusted as necessary. Assuming that an image with the value at its ith pixel indicated as (R, G, B)_(i) is projected by the projection unit 110, the pixel value taken in the photographic image at the projection surface, which corresponds to the value at the ith pixel, is indicated as (R_(P), G_(P), B_(P))_(i) in the following description.

In step S31 in FIG. 4, the control circuit 101 projects a black image ((R, G, B)_(i)=(0, 0, 0)_(i)) onto the projection surface from the projection unit 110. In step S32, the control circuit 101 engages the imaging unit 120 to capture a photographic image of the projection surface onto which the black image is projected. It is to be noted that even when a black image is projected via the projection unit 110, the output does not necessarily indicate exactly 0. In the description, such as output is referred to as an unintended output from the projection unit 110. The following explanation is provided by assuming that the ambient light mentioned earlier includes the unintended output from the projection unit 110.

In step S33, the control circuit 101 obtains through calculation an image (to be referred to as an ambient light pattern distribution image A01) by using the photographic image captured via the imaging unit 120 in step S32. Any base pattern, stain or the like present at the projection surface, illuminated with the ambient light, i.e., light originating from a light source other than the projector apparatus 1 and the unintended output from the projection unit 110, shows up in this image. In other words, the ambient light pattern distribution image A01 is equivalent to a density distribution image. The pixel value in the ambient light pattern distribution image A01 is notated as; (R_(P), G_(P), B_(p))_(i)=(R_(A01), G_(A01), B_(A01))_(i). FIG. 13 is a schematic illustration presenting an example of the ambient light pattern distribution image A01. FIG. 13 shows a base pattern and stains present at the projection surface illuminated with the ambient light showing up as a distribution of varying levels of density in the ambient light pattern distribution image A01. In FIG. 13, dotted areas indicated by reference numerals r1˜r8 are part of the base pattern at the projection surface, whereas reference numeral r9 indicates a stain on the projection surface. In addition, a shaded area rx is an area dimly illuminated due to uneven illumination provided by the ambient light, whereas reference numeral ry indicates an area brightly illuminated due to uneven illumination provided by the ambient light. It is to be noted that the boundaries of the patterned areas r1, r2, r5, r6 and r8 are indicated with solid lines in FIG. 13 in order to simulate a condition in which the boundaries of the base pattern portions r1, r2, r5, r6 and r8 are more noticeable than the boundaries of the base pattern portions r3, r4 and r7.

In step S34, the control circuit 101 projects a white image ((R, G, B)_(i)=(255, 255, 255)_(i)) onto the projection surface from the projection unit 110. “255” is equivalent to the maximum value that can be indicated by the eight-bit data. In step S35, the control circuit 101 engages the imaging unit 120 in operation to capture an image of the projection surface onto which the white image is projected. The pixel value assumed in this photographic image A02 is indicated as; (R_(P), G_(P), B_(P))_(i)=(R_(A02), G_(A02), B_(A02))_(i). The base pattern and stains on the projection surface illuminated with the projection unit 110 and the base pattern and stains on the projection surface illuminated with light originating from a light source other than the projector apparatus 1 appear in the photographic image A02 obtained by capturing an image of the projection surface onto which the white image is projected as described above. To be more exact, the photographic image A02 contains the base pattern and stains on the projection surface illuminated with ambient light, i.e., light originating from a light source other than the projector apparatus 1 and light unintentionally output from the projection unit 110, as well as the base pattern and stains on the projection surface illuminated with the light intentionally output from the projection unit 110.

In step S36, the control circuit 101 obtains through calculation an image (to be referred to as a reflectance distribution image A03) indicating the reflectance at the projection surface by determining the difference between the photographic image A02 and the ambient light pattern distribution image A01. In more specific terms, the control circuit 101 obtains the image through calculation expressed as; (R_(A03), G_(A03), B_(A03))_(i)=(R_(A02)−R_(A01), G_(A02)−G_(A02), B_(A02)−B_(A01))_(i). Thus, the reflectance distribution image A03 obtained as a result is equivalent to an image showing the base pattern and the stains on the projection surface illuminated with the light intentionally output from the projection unit 110, i.e., an image from which any influence of the ambient light illumination has been eliminated. The reflectance distribution image A03 contains the reflectance at the projection surface, and also contains the influence of any unevenness in the quantity of light output from the projection unit 110. Once the reflectance distribution image A03 is obtained through calculation, the control circuit 101 ends the processing shown in FIG. 4. FIG. 14 is a schematic illustration presenting an example of the reflectance distribution image A03. FIG. 14 shows a linear area r9 with low reflectance (e.g., a mark on the projection surface) and base pattern portions r1˜r8. Through subsequent processing, various types of images, to be used for purposes of correction, are generated by using the reflectance distribution image A03 that also reflects the influence of the unevenness in the quantity of light provided from the projection unit 110, as described above, so as to also correct the adverse effect of the unevenness in the quantity of light provided by the projection unit 110 without having to execute any special processing.

(Processing Executed to Obtain Ambient Light Pattern Correction Image Through Calculation)

In reference to the flowchart presented in FIG. 5, the processing executed in step S22 (see FIG. 3) mentioned earlier to obtain through calculation the ambient light pattern correction image is described in detail.

In step S41 in FIG. 5, the control circuit 101 culls some of the pixels constituting the ambient light pattern distribution image A01. Assuming that the initial ambient light pattern distribution image A01 is constituted with 1024 (across)×768 (down) pixels, the control circuit 101 obtains an ambient light pattern distribution image a01 with a reduced size of 256×192 pixels by culling the data to ¼ both across and down. FIG. 15 is a schematic illustration presenting an example of the ambient light pattern distribution image a01. As in the ambient light pattern distribution image A01 in FIG. 13, the base pattern portions r1˜r8 and the mark r9 at the projection surface, and the area rx dimly illuminated and the area rx brightly illuminated due to uneven illumination by ambient light all appear in the ambient light pattern distribution image a01. However, since the data have been culled to ¼ across and down, the mark r9 shows up as a disrupted line, unlike the continuous line appearing in the ambient light pattern distribution image A01. Accordingly, the mark r9 is schematically indicated as a dotted line in FIG. 15.

In step S42, the control circuit 101 executes low pass filter processing (e.g., moving average processing) in order to smooth the reduced ambient light pattern distribution image a01. In reference to FIG. 6, the principle of smoothing processing executed over a 3×3 kernel (a local area used for weighted averaging) is described as an example. FIG. 6 shows a target pixel assuming the central position in the group of 3×3 pixels, with an ambient light pattern distribution value of 0.3 indicated at the target pixel. It is to be noted that the term “ambient light pattern distribution value” is used to refer to the pixel value indicated at the reduced ambient light pattern distribution image a01. Pixels adjacent to the target pixel individually indicate ambient light pattern distribution values of 1.0, 0.8, 1.0, 0.6, 0.5, 0.5, 0.7 and 0.9. The control circuit 101 executes weighted averaging calculation by using the ambient light pattern distribution value at the target pixel and the ambient light pattern distribution values at the pixels adjacent to the target pixel. Namely, the control circuit 101 adds up the ambient light pattern distribution value at the target pixel and the ambient light pattern distribution values at the pixels adjacent to the target pixel with a weight of 1/9 applied thereto. The ambient light pattern distribution value calculated by the control circuit 101 for the smoothed target pixel is 0.7. FIG. 16 presents an example of an image that may be obtained by smoothing the ambient light pattern distribution image a01. Through the smoothing processing, the boundaries of the areas corresponding to the base pattern portions and the stains at the projection surface are rendered less noticeable. FIG. 16 schematically illustrates how the boundaries have become less noticeable with the boundaries of the base pattern portions r1, r2, r5, r6 and r8 indicated with a one-point chain lines and the mark r9 indicated as a dotted line.

It is to be noted that size of the kernel is allowed to assume the optimal size to assure the best appearance for the corrected input image when it is projected. For instance, the kernel may assume a 9×9 areal size or a 13×13 areal size. In addition, instead of smoothing the image through a low pass filter, the control circuit 101 may smooth the image through a median filter.

In step S43, the control circuit 101 divides the ambient light pattern distribution image having undergone the smoothing processing into blocks. In the following description, the ambient light pattern distribution image that has been smoothed is referred to as a smoothed ambient light pattern distribution image. When dividing the smoothed ambient light pattern distribution image into blocks, the control circuit 101 first partitions the smoothed ambient light pattern distribution image into specific areas. The control circuit 101 then designates the largest smoothed ambient light pattern distribution value among the smoothed ambient light pattern distribution values indicated at the pixels present in each partitioned area (each block) as a smoothed ambient light pattern distribution value representing all the pixels in the area (block). It is to be noted that the term “smoothed ambient light pattern distribution value” is used to refer to the pixel value indicated in the smoothed ambient light pattern distribution image.

In reference to FIGS. 7A and 7B, an example of block processing in which a 4×4 pixel area is processed as a single block is described. As shown in FIG. 7A, the largest smoothed ambient light pattern distribution value among the pixel values indicated at the 4×4 pixels, i.e., in the particular block, is 1.0. Accordingly, all the pixels in the block having undergone the block processing assume a smoothed ambient light pattern distribution value of 1.0, as shown in FIG. 7B. Through this block processing, the size of the smoothed ambient light pattern distribution image is altered to 64×48 pixels. FIG. 17 is a schematic illustration presenting an example of an image that may be obtained by executing the block processing on the smoothed ambient light pattern distribution image. FIG. 17 indicates how the shapes of the areas in the image corresponding to the base pattern and stains on the projection surface may change and the boundaries, having been rendered less noticeable through the smoothing processing described earlier, may change as a result of the block processing. FIG. 17 schematically illustrates how the boundaries have been rendered less visible by using dots identical to the dots indicating the area ry and the base pattern portions r3, r4 and r7 and the mark r9. In addition, the boundaries of the base pattern portions r1, r2, r5, r6 and r8, having been altered from the state shown in FIG. 16, have become more noticeable. FIG. 17 schematically illustrates how the boundaries have changed by indicating the boundaries of the base pattern portions r1, r2, r5, r6 and r8 with two-point chain lines.

In step S44, the control circuit 101 executes expansion processing on the smoothed ambient light pattern distribution image having undergone the block processing. In the expansion processing, the control circuit 101 first sets a kernel assuming a specific range centered on the target pixel in the smoothed ambient light pattern distribution image. The control circuit 101 then alters the ambient light pattern distribution values at the individual pixels present within the kernel to the largest value among the ambient light pattern distribution values indicated within the particular kernel. In reference to FIGS. 8A and 8B, an example of expansion processing that may be executed by the control circuit 101 over a 3×3 kernel range (pixel range) is described. By adjusting all the ambient light pattern distribution values within the 3×3 kernel range shown in FIG. 8A to the largest pixel value, a smoothed ambient light pattern distribution image having undergone the expansion processing, such as that shown in FIG. 8B, is obtained. The control circuit 101 in the embodiment, repeatedly executes the expansion processing twice. FIG. 18 is a schematic illustration presenting an example of an image that may result from the expansion processing. The image having undergone the expansion processing will assume wider ranges in correspondence to the largest values. FIG. 18 schematically illustrates the results of the expansion processing by using dots to indicate the boundaries of the base pattern portions r1, r2, r5, r6 and r8.

In step S45, the control circuit 101 further smooths the smoothed ambient light pattern distribution image having undergone the expansion processing. The control circuit 101 may smooth the image through moving average processing executed over, for instance, a 9×9 kernel. FIG. 19 is a schematic illustration presenting an example of an image that may result from the further smoothing processing. Through the further smoothing processing, the boundaries of the areas corresponding to the base pattern portions on the projection surface, which have been rendered noticeable again as a result of the expansion processing, become less visible. FIG. 19 schematically illustrates how the boundaries of the base pattern portions r1, r2, r5, r6 and r8 have become less noticeable by indicating them with fewer dots than in FIG. 18. In step S46, the control circuit 101 generates a target ambient light pattern image through enlargement processing. In more specific terms, the control circuit 101 enlarges the smoothed 64×48 pixel image through a bilinear method and obtains a 1024×768 pixel image (referred to as a target ambient light pattern image E01). The target ambient light pattern image E01 thus generated is equivalent to an image obtained by extracting a low frequency component contained in the ambient light pattern distribution image A01. FIG. 20 presents an example of the target ambient light pattern image E01.

In step S47, the control circuit 101 obtains through calculation an ambient light pattern correction image D01 by subtracting the ambient light pattern distribution image A01 from the target ambient light pattern image E01. More specifically, the control circuit 101 obtains the image through calculation expressed as; (R_(D01), G_(D01), B_(D01))_(i)=(R_(E01)−R_(A01), G_(E01)−G_(A01), B_(E01)−B_(A01),)_(i). The resulting ambient light pattern correction image D01 is equivalent to an image obtained by extracting a high frequency component from the ambient light pattern distribution image A01. The ambient light pattern correction image D01 indicates the quantity of light required at the projection surface in order to enable the viewer to see the projection image unaffected by any adverse effects of the base pattern or stains on the projection surface. In other words, the ambient light pattern correction image D01 represents the quantity of light perceived by the viewer.

In step S48, the control circuit 101 obtains through calculation an ambient light pattern correction image F01 having undergone reflectance correction by dividing the ambient light pattern correction image D01 by the reflectance distribution image A03. More specifically, the control circuit 101 obtains the image through calculation expressed as (R_(F01), G_(F01), B_(F01))_(i)=(R_(D01)/R_(A03), G_(D01)/G_(A03), B_(D01)/B_(A03))_(i). It then the processing in FIG. 5. FIG. 21 presents an example of the ambient light pattern correction image F01.

The ambient light pattern correction image F01 indicates the output provided from the projection unit 110, i.e., the quantity of light output from the projection unit 110 in order to project the projection image. However, since the light from the projection unit 110 is perceived by the viewer at the projection surface, where the quantity of light is altered in correspondence to the reflectance thereat, the quantity of light perceived by the viewer does not match the quantity of the output from the projection unit 110. Namely, the quantity of light perceived by the viewer matches the value obtained by multiplying the quantity of light originating from the projection unit 110 by the reflectance at the projection surface. As explained earlier, the reflectance at the projection surface is indicated by the reflectance distribution image A03, whereas the quantity of light perceived by the viewer is indicated by the ambient light pattern correction image D01. Accordingly, the control circuit 101 obtains through calculation the ambient light pattern correction image F01 indicating the quantity of light output from the projection unit 110 by dividing the ambient light pattern correction image D01 by the reflectance distribution image A03.

(Projection Image Generation Processing)

In reference to the flowchart presented in FIG. 9, an example of processing that may be executed in step S24 (see FIG. 3) to generate the projection image is described in detail.

In step S51 in FIG. 9, the control circuit 101 obtains an image (hereafter referred to as a linearized image C01) by individually linearizing the pixel values indicated in the input image (1024×768 pixels). The control circuit 101 may calculate linearized values by, for instance, sequentially executing a pixel-by-pixel inverse γ conversion in reference to a lookup table (LUT). Such an LUT should be stored in the flash memory 101B.

In step S52, the control circuit 101 culls some of the pixels constituting the linearized image C01. Namely, the control circuit 101 obtains a linearized image c01 with a reduced size of 256×192 pixels by culling the data to ¼ the initial pixel size (1024×768) both across and down.

In step S53, the control circuit 101 creates a correction impossible distribution image B03, and then the operation proceeds to step S54. The processing executed to create the correction impossible distribution image B03 is to be described in detail later. It is to be noted that the correction impossible distribution image B03 is an image indicating the distribution of areas where the base pattern or stains on the projection surface cannot be canceled out of the projection image due to low reflectance at the projection surface, as explained earlier.

In step S54, the control circuit 101 culls some of the pixels constituting the correction impossible distribution image B03 to ¼ of the current size both across and down so as to obtain a correction impossible distribution image b03 with a reduced size of 256×192 pixels and then smooths the correction impossible distribution image b03. FIG. 22 presents an example of the correction impossible distribution image b03. Reference numerals r9˜r14 in FIG. 22 each indicate an area that cannot be corrected without lowering the brightness. The correction impossible distribution image b03 assumes a darker shade over an area with a higher level of difficulty for correction. FIG. 22 assumes a higher level of dot density in the areas r9˜r14 to indicate a higher level of correction difficulty. Namely, the level of correction difficulty is higher in the areas r10˜r13 in FIG. 22.

FIG. 23 is a schematic illustration presenting an example of a correction impossible distribution image having undergone smoothing processing. It is to be noted that the control circuit 101 smooths the image through moving average processing executed over, for instance, a 3×3 kernel. FIG. 23 schematically illustrates how the boundaries of the areas r10˜r14, which cannot be corrected without lowering the brightness, have become less noticeable. In addition, the area r9 indicated as a line in FIG. 22 is represented with dots in FIG. 23 to indicate that it has been smoothed.

In step S55, the control circuit 101 divides the smoothed correction impossible distribution image into blocks. Assuming that the smoothed correction impossible distribution image is divided into blocks each made up with 4×4 pixels, the control circuit 101 designates the largest pixel value among the pixel values indicated at the pixels contained in each block as a correction impossible distribution value for the entire block in the block processing. Through the block processing, the correction impossible distribution pixel is converted to an image constituted with 64×48 pixels. FIG. 24 is a schematic illustration presenting an example of a correction impossible distribution image that may result from the block processing. FIG. 24 schematically illustrates how the shapes of the areas r9˜r14 have been altered through the block processing. In addition, FIG. 24 indicates that the alterations in the shapes of the individual areas r9˜r14 attributable to the block processing have resulted in the areas r9 and r10 joining each other to form a substantially single area.

In step S56, the control circuit 101 executes contraction processing on the correction impossible distribution image having undergone the block processing. In the contraction processing, the control circuit 101 first sets a kernel assuming a specific range centered on the target pixel in the correction impossible distribution image having undergone the block processing. Next, the circuit 101 designates the smallest value among the pixel values indicated at the pixels in the kernel as a correction impossible distribution value for the entire kernel. In reference to FIGS. 10A and 10B, an example of contraction processing that may be executed by the control circuit 101 over a 3×3 kernel range (pixel range) is described. By adjusting all the pixel values within the 3×3 kernel range shown in FIG. 10A to the smallest value, a correction impossible distribution image having undergone the contraction processing, such as that shown in FIG. 10B, is obtained. The control circuit 101 in the embodiment repeatedly executes the contraction processing twice. FIG. 25 is a schematic illustration presenting an example of an image that may result from the contraction processing. The correction impossible distribution image having undergone the contraction processing will assume wider ranges in correspondence to the smallest values. FIG. 25 schematically illustrates the results of the contraction processing by indicating the areas r9˜r14 in shapes altered from those of the areas r9˜r14 in FIG. 24.

In step S57, the control circuit 101 obtains a lowered brightness distribution image by further executing smoothing processing and enlargement processing on the correction impossible distribution image having undergone the contraction processing. The control circuit 101 smooths the image through moving average processing executed over, for instance, a 9×9 kernel. FIG. 26 is a schematic illustration presenting an example of a correction impossible distribution image that may result from the further smoothing processing. Through the further smoothing processing, the boundaries of the areas r9˜r14 in the image, which have been rendered noticeable again as a result of the block processing, become less visible. FIG. 26 schematically illustrates the results of the contraction processing by showing the areas r9˜r14 in shapes altered from those of the areas r9˜r14 in FIG. 25.

In the enlargement processing, the control circuit 101 enlarges the further smoothed 64×48 pixel image through a bilinear method and obtains a 1024×768 pixel image (referred to as a lowered brightness distribution image H01). The lowered brightness distribution image H01 thus generated is equivalent to an image obtained by extracting a low frequency component contained in the correction impossible distribution image B03. FIG. 27 presents an example of the lowered brightness distribution image H01. FIG. 27 schematically illustrates the results of the enlargement processing by showing the areas r9˜r14 in shapes altered from those of the areas r9˜r14 in FIG. 26. The lowered brightness distribution image H01 indicates the distribution of areas assuming non-uniform low brightness levels on the projection surface (i.e., the base pattern and stains).

In step S58, the control circuit 101 obtains through calculation a target projection image J01 by multiplying the linearized image C01 by the lowered brightness distribution image H01 and then the operation proceeds to step S59. FIG. 28 is a schematic illustration presenting an example of the target projection image J01. FIG. 28 schematically illustrates the target projection image J01 by superimposing the lowered brightness distribution image H01 in FIG. 27 over the linearized image C01.

The projection image seen by the viewer is an image perceived as the projection image output from the projection unit 110, which is affected to an extent corresponding to the reflectance at the projection surface, i.e., an image obtained by multiplying the projection image output from the projection unit by the reflectance distribution image A03. Provided that the linearized image C01 is reproduced exactly as is on the projection surface, the projected image can be viewed as a projection image unaffected by the base pattern, stains and the like on the projection surface. In other words, only if the linearized image C01 exactly matches the image obtained by multiplying an image (corrected image) resulting from a specific correction of the linearized image C01 by the reflectance, a projection image can be viewed free from any adverse effects of the base pattern, stains and the like on the projection surface. This means that the correction image can be generated by dividing the linearized image C01 by the reflectance distribution image A03. The correction image thus obtained is the projection image that should be output from the projection unit 110 in order to cancel out the appearance of the adverse effects of the base pattern, stains and the like on the projection surface. The correction image indicates that an area corresponding to an area with low reflectance on the projection surface (an area greatly affected by the base pattern, a stain or the like) is projected with a higher level of brightness (high brightness) in correspondence to the lower reflectance.

However, if the input image (or the linearized image C01) assumes large pixel values or if the reflectance at the projection surface is low, the pixel values in the correction image may exceed the level of the maximum output at the projection unit 110. In such a case, the control circuit 101 should lower the brightness of the linearized image C01 so as to ensure that the base pattern and stains on the projection surface, which would otherwise be visible in the projection image, can be corrected at the maximum output level of the projection unit 110. At this time, in order to ensure that the entire area (including areas less affected by the base pattern or stains) of the linearized image will not be unnecessarily darkened as the brightness of the linearized image C01 is uniformly lowered, the control circuit 101 multiplies the linearized image C01 by the lowered brightness distribution image H01. The target projection image J01 is thus generated by adjusting the luminance (brightness) of areas in the linearized image C01, which correspond to areas greatly affected by the base pattern, stains and the like on the projection surface, to a low level. This target projection image J01 is the projection image seen by the viewer, which is not affected by the base pattern, stains and the like on the projection surface.

In step S59, the control circuit 101 obtains through calculation a target projection image K01 resulting from reflectance correction by dividing the target projection image J01 by the reflectance distribution image A03 and then the operation proceeds to step S60. More specifically, the control circuit 101 obtains the image through calculation expressed as; (R_(K01), G_(K01), B_(K01))_(i)=(R_(J01)/R_(A03), G_(J01)/G_(A03), B_(J01)/B_(A013))_(i).

The target projection image K01 represents the projection image to be output by the projection unit 110. However, since the projection image output from the projection unit 110 is altered in correspondence to the reflectance at the projection surface as seen by the viewer, the projection image output from the projection unit 110 is not exactly the same as the projection image seen by the viewer. Namely, the projection image seen by the viewer is equivalent to the product obtained by multiplying the projection image output from the projection unit 110 by the reflectance at the projection surface. As explained earlier, the reflectance at the projection surface is indicated in the reflectance distribution image A03 and the image seen by the viewer is the target projection image J01. Accordingly, the control circuit 101 obtains through calculation the target projection image K01, i.e. the projection image to be output from the projection unit 110, by dividing the target projection image J01 by the reflectance distribution image A03.

In step S60, the control circuit 101 obtains through calculation a projection image L01 by adding the ambient light pattern correction image F01 to the target projection image K01 resulting from the reflectance correction and then the operation proceeds to step S61. In more specific terms, the control circuit 101 obtains the image through calculation expressed as; (R_(L01), G_(L01), B_(L01))_(i)=(R_(K01)+R_(F01), G_(K01)+G_(F01), B_(K01)+B_(F01))_(i). FIG. 29 is a schematic illustration presenting an example of the projection image L01.

In step S61, the control circuit 101 obtains the actual projection image L01 converted back to the nonlinear data format through γ conversion executed on the projection image L01. The γ conversion should be executed by using an LUT stored in the flash memory 101B.

(Correction Impossible Distribution Image Generation Processing)

In reference to the flowchart presented in FIG. 11, an example of processing that may be executed in step S53 (see FIG. 9) when creating the correction impossible distribution image B03 is described in detail. In step S71 in FIG. 11, the control circuit 101 calculates the output (the quantity of light) from the projection unit 110 that can be used in the input image correction. In more specific terms, assuming that the output of the projection unit 100 is 255, representing the maximum output value corresponding to 8-bit data, the control circuit 101 subtracts the pixel value in the ambient light pattern correction image F01 from 255 as expressed; (R_(M1), G_(M1), B_(M1))_(i)=(255−R_(F01), 255−G_(F01), 255−B_(F01))_(i). The light output from the projection unit 110 includes the light used to cancel out the appearance of the base pattern, stains and the like on the projection surface from the projection image and the light used to project the image. In other words, only the light that is not used for canceling out the appearance of the base pattern, stains and the like on the projection surface can be used to project the image. Accordingly, the control circuit 101 subtracts the pixel value in the ambient light pattern correction image F01 corresponding to the quantity of light used to cancel the appearance of the base pattern, stains and the like on the projection surface from the maximum output value. The value (R_(m1), G_(M1), B_(M1))_(i) thus calculated, representing the quantity of light that can be used to project the image, is to be referred to as an available-for-projection light quantity.

In step S72, the control circuit 101 calculates the quantity of light to be output for purposes of eliminating (canceling) the appearance of the base pattern, stains and the like on the projection surface. More specifically, the control circuit 101 executes calculation expressed as; (R_(N1), G_(N1), B_(M1))_(i)=(R_(C01)/R_(A03), G_(C01)/G_(A03), B_(C01)/B_(A03))_(i) by dividing the linearized image C01 by the reflectance distribution image A03. As described earlier, the projection unit 100 projects an image obtained by dividing the linearized image C01 by the reflectance distribution image A03 as the projection image. In other words, in the image projected by the projection unit 110, an area corresponding to an area on the projection surface with low reflectance (an area greatly affected by the base pattern, a stain or the like) is projected with higher luminance (higher brightness) in correspondence to the lower reflectance. Thus, (R_(N1), G_(N1), B_(N1))_(i) calculated as described above represents the quantity of light that should be output from the projection unit 110 in order to eliminate (cancel) the appearance of the base pattern, stains and the like on the projection surface. The value represented by (R_(N1), G_(N1), B_(N1))_(i) is to be referred to as the required-for-projection light quantity.

In step S73, the control circuit 101 sequentially compares the available-for-projection light quantity and the required-for-projection light quantity, pixel by pixel. If “available-for-projection light quantity”>“required-for-projection light quantity”, i.e., if (R_(M1), G_(M1), B_(M1))_(i)>(R_(N1), G_(N1), B_(N1))_(i) is true, the control circuit 101 makes an affirmative decision in step S73 and the operation proceeds to step S74A. However, if the “available-for-projection light quantity” is not greater than the “required-for-projection light quantity”, i.e., if (R_(M1), G_(M1), B_(M1))_(i)>(R_(N1), G_(N1), B_(N) 1)_(i) is not true, a negative decision is made in step S73 and the operation proceeds to step S74B.

In step S74A, the control circuit 101 sets the correction impossible distribution value so that (R_(B01), G_(B01), B_(B01))_(i)=(255, 255, 255), before the operation proceeds to step S75. In step S74B, the control circuit 101 sets the correction impossible distribution value so that (R_(B01), G_(B01), B_(B01))_(i)=(R_(M1)/R_(N1), G_(M1)/G_(N1), B_(M1)/RB_(N1))_(i)×255, before the operation proceeds to step S75.

In step S75, the control circuit 101 makes a decision as to whether or not the comparison in step S73 has been executed for all the pixels constituting the input image. An affirmative decision is made in step S75 if the comparison in step S73 has been executed for all the pixels constituting the input image and in this case, the correction impossible distribution calculation processing in FIG. 11 ends. If, on the other hand, there is any pixel among the pixels constituting the input image for which the comparison in step S73 has not been executed, a negative decision is made in step S75 and the operation returns to step S73.

FIG. 30 presents an example of a projection image that may be projected onto the projection surface after undergoing the correction at the projector apparatus 1 as described above. The appearance of the pattern on the projection surface is rendered less visible. FIG. 31 presents, for purposes of comparison, an example of a projection image that may be projected directly onto the projection surface without the correcting the input image as described above. Unlike the projection image in FIG. 30, the base pattern on the projection surface shows up in the projection image in FIG. 31.

The following advantages are achieved through the embodiment described above.

(1) The projector apparatus 1 includes the projection unit 110 that projects an image onto a projection surface, the memory card I/F 105 via which image data are input and the control circuit 101. The control circuit 101 detects a projection surface reflectance distribution image A03 and also detects a projection surface ambient light pattern distribution image A01. The control circuit 101 smooths the reflectance distribution image A03 and the ambient light pattern distribution image A01 and corrects image data C01 having been input based upon the smoothed reflectance distribution image and the smoothed ambient light pattern distribution image. The control circuit 101 then controls the projection unit 110 so as to project an image based upon the correction image data. As a result, the input image can be corrected so as to cancel out the appearance of color on the projection surface and any stains or base pattern that may be present on the projection surface without greatly compromising the quality of the projection image. In addition, through the smoothing processing, the input image can be corrected so that the corrected areas remain inconspicuous.

(2) The control circuit 101 alters the data size of the ambient light pattern distribution image A01 to a size smaller than the data size of the image that the projection unit 110 projects. Then, based upon the reflectance distribution and the ambient light pattern distribution image with the altered data size, the control circuit 101 obtains through calculation correction information (ambient light pattern correction image) to be used to cancel out the appearance of the projection surface base pattern from the projection image. Through these measures, the onus of the calculation processing can be lessened compared to that of the calculation executed without altering the data size and consequently, the processing can be completed over a shorter period of time.

(3) The control circuit 101 generates a lowered brightness distribution image H01 that indicates possible/impossible distribution of image areas where the appearance of the base pattern or stains on the projection surface may or may not be successfully canceled out, based upon the correction information (ambient light pattern correction image) F01, the input image data C01 and the reflectance distribution A03. The control circuit 101 individually alters the data size of the lowered brightness distribution image H01 and the data size of the input image data C01 each to a size smaller than the data size of the image that the projection unit 110 projects. The control circuit 101 then corrects the input image C01 by using the lowered brightness distribution image with the altered data size, the input image with the altered data size, the reflectance distribution and the correction information (ambient light pattern correction image). Through these measures, the onus of the calculation processing can be lessened compared to that of the calculation executed without altering the data sizes and consequently, the processing can be completed over a shorter period of time.

(4) The control circuit 101 obtains through calculation correction information (ambient light pattern correction image) based upon the density distribution having undergone the size alteration, in correspondence to each of specific areas defined on the projection image plane. Thus, the projection image can be corrected in units of individual pixels by setting the specific areas each in correspondence to a pixel so as to obtain the correction information for the particular pixel.

(5) The control circuit 101 executes the arithmetic operation necessary for correction based upon the lowered brightness distribution image having undergone the size alteration, in correspondence to each of specific areas defined on the projection image plane. Thus, the projection image can be corrected in units of individual pixels by executing the arithmetic operation for each of the pixels set as the specific areas.

(Variation 1)

While the projection surface reflectance distribution is detected by obtaining through calculation an image indicating the projection surface reflectance distribution in the embodiment described above, the projection surface reflectance distribution may be detected through a method other than that adopted in the embodiment. For instance, the control circuit 101 may detect the reflectance distribution based upon the intensity of the light projected from the projection unit 110 and the intensity of the light reflected from the projection surface, which is detected via the imaging unit 120.

(Variation 2)

While the description is given above in reference to the embodiment on an example in which varying correction quantities can be set within the image plane, the present invention may be adopted in uniform correction executed by setting a uniform correction quantity for the whole image plane. In such a case, the control circuit 101 should execute the processing in the flowchart presented in FIG. 32 instead of the processing in the flowchart in FIG. 5 and should also execute the processing in the flowchart presented in FIG. 33 instead of the processing in the flowchart in FIG. 9.

(Processing Executed to Obtain Ambient Light Pattern Correction Image Through Calculation)

In reference to the flowchart presented in FIG. 32, the processing executed in step S22 (see FIG. 3) mentioned earlier to obtain through calculation the ambient light pattern correction image is described in detail.

In step S81 in FIG. 32, the control circuit 101 culls some of the pixels constituting the ambient light pattern distribution image A01. Assuming that the initial ambient light pattern distribution image A01 is constituted with, for instance, 1024 (across)×768 (down) pixels, the control circuit 101 obtains an ambient light pattern distribution image a01 with a reduced size of 256×192 pixels by culling the data to ¼ both across and down. FIG. 15 presents an example of the ambient light pattern distribution image a01.

In step S82, the control circuit 101 executes low pass filter processing (e.g., moving average processing) in order to smooth the reduced ambient light pattern distribution image a01. FIG. 16 presents an example of an image that may be obtained by smoothing the ambient light pattern distribution image a01.

It is to be noted that as explained earlier in reference to the embodiment, the size of the kernel may be adjusted as necessary and the smoothing processing may be executed by using a median filter instead of a low pass filter.

In step S83, the control circuit 101 determines the largest value indicated in the smoothed ambient light pattern distribution image. In other words, the control circuit 101 obtains the largest smoothed ambient light pattern distribution value in the overall image. In step S84, the control circuit 101 obtains through calculation an ambient light pattern correction image DD01 by subtracting the ambient light pattern distribution image A01 from the largest value. In more specific terms, the control circuit 101 obtains the image through calculation expressed as; (R_(DD01), G_(DD01), B_(DD01))_(i)=(R_(max)−R_(A01), G_(max)−G_(A01), B_(max)−B_(A01))_(i). It is to be noted that (R_(max), G_(max), B_(max)) above represents the largest value.

In step S85, the control circuit 101 obtains through calculation an ambient light pattern correction image FF01 having undergone reflectance correction by dividing the ambient light pattern correction image DD01 by the reflectance distribution image A03. More specifically, the control circuit 101 obtains the image through calculation expressed as; (R_(FF01), G_(FF01), B_(FF01))_(i)=(R_(DD01)/R_(A03), G_(DD01)/G_(A03), B_(DD01)/B_(A03))_(i), before ending the processing in FIG. 32.

(Projection Image Generation Processing)

In reference to the flowchart presented in FIG. 33, an example of processing that may be executed in step S24 (see FIG. 3) to generate the projection image is described in detail.

In step S91 in FIG. 33, the control circuit 101 obtains an image (hereafter referred to as a linearized image C01) by individually linearizing the pixel values indicated in the input image (e.g., 1024×768 pixels). The control circuit 101 may calculate linearized values by, for instance, sequentially executing a pixel-by-pixel inverse γ conversion in reference to a lookup table (LUT). Such an LUT should be stored in the flash memory 101B.

In step S92, the control circuit 101 culls some of the pixels constituting the linearized image C01. Namely, the control circuit 101 obtains a linearized image c01 with a reduced size of 256×192 pixels by culling the data to ¼ the initial pixel size (1024×768) both across and down.

In step S93, the control circuit 101 creates a correction impossible distribution image B03, and then the operation proceeds to step S94. The correction impossible distribution image B03 is created through processing identical to that described earlier.

In step S94, the control circuit 101 culls some of the pixels constituting the correction impossible distribution image B03 to ¼ of the initial size both across and down so as to obtain a correction impossible distribution image b03 with a reduced size of 256×192 pixels and also detects the smallest value among the values indicated in the correction impossible distribution image b03. In other words, the control circuit 101 ascertains the smallest correction impossible distribution value detected through the entire image.

In step S95, the control circuit-101 obtains through calculation a target projection image JJ01 by multiplying the linearized image C01 by the smallest value detected as described above and then the operation proceeds to step S96. In more specific terms, the control circuit 101 obtains the image through calculation expressed as; (R_(JJ01), G_(JJ01), B_(JJ01))_(i)=(R_(C01)×R_(min), G_(C01)×G_(min), B_(C01)×B_(min))_(i). It is to be noted that (R_(min), G_(min), B_(min)) above represents the smallest value.

In step S96, the control circuit 101 obtains through calculation a target projection image KK01 resulting from reflectance correction by dividing the target projection image JJ01 by the reflectance distribution image A03 and then the operation proceeds to step S97. More specifically, the control circuit 101 obtains the image through calculation expressed as; (R_(KK01), G_(KK01), B_(KK01))_(i)=(R_(JJ01)/R_(A03), G_(JJ01)/G_(A03), B_(JJ01)/B_(A03))_(i).

In step S97, the control circuit 101 obtains through calculation a projection image LL01 by adding the ambient light pattern correction image FF01 to the target projection image KK01 resulting from the reflectance correction and then the operation proceeds to step S98. In more specific terms, the control circuit 101 obtains the image through calculation expressed as; (R_(LL01), G_(LL01), B_(LL01))_(i)=(R_(KK01)+R_(FF01), G_(KK01)+G_(FF01), B_(KK01)+B_(FF01))_(i).

In step S98, the control circuit 101 obtains the actual projection image LL02 converted back to the nonlinear data format through γ conversion executed on the projection image LL01. The γ conversion should be executed by using an LUT stored in the flash memory 101B.

The following advantages are achieved through Variation 2 described above.

(1) The control circuit 101 assumes a uniform ambient light pattern distribution over the entire projection image plane based upon the largest value indicated in the ambient light pattern distribution with the altered data size and obtains through calculation correction information (ambient light pattern correction image) based upon the uniform distribution value for each of specific areas defined on the projection image plane. By assuming such uniformity in the ambient light pattern distribution, the onus of the calculation processing is lessened compared to that of processing executed without assuming uniformity and consequently, the processing can be executed within a shorter period of time.

(2) The control circuit 101 assumes a uniform lowered brightness distribution through the entire projection image plane based upon the smallest value indicated in the lowered brightness distribution with the altered data size and executes the arithmetic operation needed for correction based upon the uniform lowered brightness distribution. By assuming such uniformity in the lowered brightness distribution, the onus of the calculation processing is lessened compared to that of processing executed without assuming uniformity and consequently, the processing can be executed within a shorter period of time.

A program enabling input image correction processing executed as described above may be provided to the projector apparatus 1 as a computer program product adopting any of various modes, e.g., via a recording medium such as the memory card 150 having the program recorded therein and via the external interface (I/F) circuit 104 connected with a communication network.

The program enabling the control described above may be provided in a recording medium such as a CD-ROM or in data signals transmitted through the Internet or the like. FIG. 34 illustrates how the program may be provided. A reproduction apparatus 200 receives the program via a CD-ROM 300. The reproduction apparatus 200 is also capable of connecting with a communication line 310. A computer 400 is a server computer that provides the program stored in a recording medium such as a hard disk. The communication line 310 may be the Internet or a communication network for personal computer communication, or it may be a dedicated communication line. The computer 400 reads out the program from the hard disk and transmits the program to the reproduction apparatus 200 via the communication line 310. Namely, the program embodied as data signals carried on a carrier wave can be transmitted via the communication line 310. In other words, the program can be distributed as a computer-readable computer program product assuming any of various modes including a recording medium and a carrier wave.

The above described embodiment is an example and various modifications can be made without departing from the scope of the invention. 

1. A projector apparatus, comprising: a projection unit that projects an image onto a projection surface; a reflectance distribution detection unit that detects a reflectance distribution at the projection surface; a density distribution detection unit that detects a density distribution of a base pattern on the projection surface; a smoothing unit that smooths the reflectance distribution and the density distribution; an input unit that inputs image data; a correction unit that corrects the input image data based upon the smoothed reflectance distribution and the smoothed density distribution; and a control circuit that controls the projection unit so as to project the image based upon the correction image data.
 2. A projector apparatus according to claim 1, wherein: the correction unit alters a data size of the density distribution to a size smaller than the data size of the image that the projection unit projects, and obtains through calculation correction information based upon the reflectance distribution and the density distribution with the altered data size, the correction information being used to cancel out an appearance of the base pattern on the projection surface.
 3. A projector apparatus according to claim 2, wherein: the correction unit also generates a possible/impossible distribution image based upon the correction information, the image data input from the input unit and the reflectance distribution, the possible/impossible distribution image indicating a distribution of areas where the appearance of the base pattern on the projection surface may or may not be cancelled out; the correction unit individually alters the data size of data constituting the possible/impossible distribution image and the data size of the input image data each to a size smaller than the data size of the image that the projection unit projects; and the correction unit corrects the input image data by using the possible/impossible distribution image with the altered data size, the input image with the altered data size, the reflectance distribution and the correction information.
 4. A projector apparatus according to claim 2, wherein: the correction unit obtains through calculation the correction information for each of specific areas defined on a projection image plane, based upon the density distribution with the altered data size.
 5. A projector apparatus according to claim 2, wherein: the correction unit adjusts the density distribution based upon a largest value indicated in the density distribution with the altered data size so as to achieve a uniform density distribution over an entire projection image plane, and obtains through calculation the correction information for each of specific areas defined on a projection image plane, based upon the uniform density distribution.
 6. A projector apparatus according to claim 3, wherein: the correction unit executes arithmetic operation needed for correction for each of specific areas defined on a projection image plane, based upon the possible/impossible distribution image with the altered data size.
 7. A projector apparatus according to claim 3, wherein: the correction unit adjusts the possible/impossible distribution based upon a smallest value indicated in the possible/impossible distribution with the altered data size so as to achieve a uniform possible/impossible distribution over an entire projection image plane and executes arithmetic operation needed for correction based upon the uniform possible/impossible distribution.
 8. A computer-readable computer program product having included therein a projection image correcting program that can be executed on a computer, with the projection image correcting program enabling the computer to execute: detection processing through which a reflectance distribution at a projection surface is detected; density distribution detection processing through which a density distribution of a base pattern on the projection surface is detected; smoothing processing through which the reflectance distribution and the density distribution are smoothed; input processing through which image data are input; correction processing through which the input image data are corrected based upon the smoothed reflectance distribution and the smoothed density distribution; and projection processing through which an image based upon the correction image data is projected. 